def ask(name="leo"):
    print(name)


class Person:
    def __init__(self):
        print("bobby")


def print_type(item):
    print(type(item))


def decorator_func():
    print("start!!!")
    return ask


if __name__ == '__main__':
    # test = ask
    # test("kate")
    #
    # my_class = Person
    # my_class()
    #
    # obj = []
    # obj.append(ask)
    # obj.append(Person)
    #
    # for item in obj:
    #     print(item())

    test = decorator_func()
    test()